package com.zzyl.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description TreeVo
 * @Author jiangzhenghao
 * @Date 2025-02-18  16:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("树形Vo封装")
public class TreeVo {

    @ApiModelProperty("id")
    private String value;

    @ApiModelProperty("楼层名称/房间号/床号")
    private String label;

    @ApiModelProperty("子节点")
    private List<TreeVo> children;
}
